package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * (SysUserDiscount)实体类
 *
 * @author makejava
 * @since 2020-03-04 18:42:14
 */
public class SysUserDiscount extends BaseEntity {
    private static final long serialVersionUID = 656642372232466114L;
    /**
    * 红包id
    */
    private Long discountId;
    /**
    * 发布者id
    */
    private Long userId;
    /**
    * 状态 0-未使用 1-已使用
    */
    private Integer state;
    /**
    * 消费时间
    */
    private Date dissipate;


    public Long getDiscountId() {
        return discountId;
    }

    public void setDiscountId(Long discountId) {
        this.discountId = discountId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getDissipate() {
        return dissipate;
    }

    public void setDissipate(Date dissipate) {
        this.dissipate = dissipate;
    }

}